﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;

namespace WebNetCorePhoneErp.Model
{
    /// <summary>
    /// 基类，有扩展字段
    /// </summary>
    public class BaseEntity
    {
        ///// <summary>
        ///// guid主键
        ///// </summary>
        //[Key]
        //public string Id { set; get; }

        /// <summary>
        /// 扩展字段，不会存入数据库
        /// </summary>
        [NotMapped]
        public string ExtenFild1 { get; set; }

        /// <summary>
        /// 扩展字段，不会存入数据库
        /// </summary>
        [NotMapped]
        public string ExtenFild2 { get; set; }

        /// <summary>
        /// 扩展字段，不会存入数据库
        /// </summary>
        [NotMapped]
        public string ExtenFild3 { get; set; }

        /// <summary>
        /// 扩展字段，不会存入数据库
        /// </summary>
        [NotMapped]
        public string ExtenFild4 { get; set; }
         
    }
}
